package com.zretc.entity;

import org.springframework.stereotype.Component;

@Component
public class Account {
    //用户id
    private String accountId;
    //用户姓名
    private String accountName;
    //用户密码
    private String password;
    //用户头像
    private String facePicture;

    public Account() {
    }

    public Account(String accountId, String accountName, String password, String facePicture) {
        this.accountId = accountId;
        this.accountName = accountName;
        this.password = password;
        this.facePicture = facePicture;
    }

    public String getAccountId() {
        return accountId;
    }

    public void setAccountId(String accountId) {
        this.accountId = accountId;
    }

    public String getAccountName() {
        return accountName;
    }

    public void setAccountName(String accountName) {
        this.accountName = accountName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getFacePicture() {
        return facePicture;
    }

    public void setFacePicture(String facePicture) {
        this.facePicture = facePicture;
    }

    @Override
    public String toString() {
        return "Account{" +
                "accountId='" + accountId + '\'' +
                ", accountName='" + accountName + '\'' +
                ", password='" + password + '\'' +
                ", facePicture='" + facePicture + '\'' +
                '}';
    }
}
